Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Upgrade meilisearch from 0.31.1 to 0.41.0 #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ramzimalhas
Copy link
Owner

snyk-top-banner

Snyk has created this PR to upgrade meilisearch from 0.31.1 to 0.41.0.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 27 versions ahead of your current version.

  • The recommended version was released on 2 months ago.

Release notes
Package name: meilisearch
  • 0.41.0 - 2024-07-01

    This version introduces features released on Meilisearch v1.9.0 🎉
    Check out the changelog of Meilisearch v1.9.0 for more information on the changes.

    🚀 Enhancements

    client.index('movies').search('interstellar', { matchingStrategy: MatchingStrategies.FREQUENCY });
    client.index('movies').search('badman', { rankingScoreThreshold: 0.2 });
    client.index('movies').searchGet('badman', { rankingScoreThreshold: 0.2 });
    client.index('movies').search('', { distinct: 'genre' });
    client.index('movies').searchSimilarDocuments({ id: 'target-document-id' });
    client.index('movies').getDocuments({ retrieveVectors: true });

    🔒 Security

    • build(deps): bump ws from 5.2.3 to 5.2.4 in /playgrounds/javascript (#1672)

    ⚙️ Maintenance/misc

    Thanks again to @ brunoocasali, @ curquiza, @ flevi29, @ mdubus, and @ the-sinner! 🎉

  • 0.40.0 - 2024-05-15

    💥 Breaking Changes

    • Fix the issue introduced in the v0.39 that affected vite apps #1652 @ brunoocasali
    • Now to use the generateTenantToken you should use it with await:
      before:
      const token = client.generateTenantToken(apiKeyUid, searchRules, {
          apiKey: apiKey,
          expiresAt: expiresAt,
        })
      after:
      const token = await client.generateTenantToken(apiKeyUid, searchRules, {
          apiKey: apiKey,
          expiresAt: expiresAt,
        })

    ⚙️ Maintenance/misc

    Thanks again to @ brunoocasali, @ mdubus! 🎉

  • 0.39.0 - 2024-05-06

    🚀 Enhancements

    • feat: hybrid search improvements for v1.8.x (#1647) @ mdubus
    • Add null to Embedder type (#1646) @ amit-ksh
    • Add searchCutoffMs index setting (#1643, #1645) @ amit-ksh
      client.index('movies').getSearchCutoffMs()
      client.index('movies').updateSearchCutoffMs(150)
      client.index('movies').resetSearchCutoffMs()

    ⚠️ if you're using vite to build your front-end app, you must add this to your configuration (see more info here #1649)

    export default defineConfig({
      plugins: [vue()],
      build: {
        rollupOptions: {
          external: ['crypto'], // this is the important part
        },
      },
    })

    Otherwise, you'll face errors like Module "crypto" has been externalized for browser compatibility.

    ⚙️ Maintenance/misc

    Thanks again to @ amit-ksh, @ brunoocasali, @ curquiza, @ flevi29, @ mdubus! 🎉

  • 0.38.0 - 2024-03-11

    This version introduces features released on Meilisearch v1.7.0 🎉
    Check out the changelog of Meilisearch v1.7.0 for more information on the changes.

    ⚠️ If you want to adopt new features of this release, update the Meilisearch server to the appropriate version.

    ⚠️ Breaking changes

    • Update Node.js versions that are used in tests (#1620) @ flevi29
    • scoreDetails feature is not experimental anymore. You can directly use showRankingScoreDetails during a search without activating the experimental feature 🎉

    🚀 Enhancements

  • 0.38.0-v1.7.0-pre-release.0 - 2024-02-19

    🧪 This is a beta version, preparing for Meilisearch v1.7.0, based on v1.7.0-rc.1

    This version introduces features released on Meilisearch v1.7.0-rc.1 🎉
    Check out the changelog of Meilisearch v1.7.0-rc.1 for more information on the changes.

    ⚠️ If you want to adopt new features of this release, update the Meilisearch server to the appropriate version.

    ⚠️ Breaking changes

    🚀 Enhancements

    Thanks again to @ curquiza, @ flevi29, @ reijovosu and @ nicolasvienot! 🎉

  • 0.37.0 - 2024-01-15

    This version introduces features released on Meilisearch v1.6.0 🎉
    Check out the changelog of Meilisearch v1.6.0 for more information on the changes.

    ⚠️ If you want to adopt new features of this release, update the Meilisearch server to the according version.

    🚀 Enhancements

    • Add support for the new setting: proximityPrecision (#1619) mdubus
    client.index('books').getProximityPrecision()
    client.index('books').updateProximityPrecision('byAttribute')
    client.index('books').resetProximityPrecision()
    • Update error inheritance to extend MeiliSearchError (#1607) amit-ksh

    🧪 Experimental enhancement - Hybrid and vector search

    ⚠️ This is about an experimental feature of Meilisearch. Activate the vectorStore experimental feature to use it

    • Add support for the embedders settings (#1623) mdubus
    client.index('books').getEmbedders()
    client.index('books').updateEmbedders({ default: { source: 'userProvided', dimensions: 1 }})
    client.index('books').resetEmbedders()
    • Add support for the hybrid parameter during search (#1623) mdubus

    ⚙️ Maintenance/misc

    • Fix test name in error.test.ts (#1609) amit-ksh
    • Update Jest (#1622) flevi29

    Thanks again to @ amit-ksh, @ curquiza, @ flevi29, @ mdubus, @ meili-bors[bot] ! 🎉

  • 0.36.0 - 2023-11-20

    This version introduces features released on Meilisearch v1.5.0 🎉
    Check out the changelog of Meilisearch v1.5.0 for more information on the changes.

    ⚠️ If you want to adopt new features of this release, update the Meilisearch server to the appropriate version.

    🚀 Enhancements

    • Needs Meilisearch v1.5.0 -> Add new method createSnapshot() to trigger snapshot creation. Similar to the already existing createDump() for dumps (#1603) @ brunoocasali
  • 0.35.1 - 2023-11-20

    🚀 Enhancements

    Thanks again to @ Dhoni77, @ amit-ksh, @ curquiza, @ jonespen, @ meili-bors[bot] ! 🎉

  • 0.35.0 - 2023-09-25

    This version introduces features released on Meilisearch v1.4.0 🎉
    Check out the changelog of Meilisearch v1.4.0 for more information on the changes.

    ⚠️ If you want to adopt new features of this release, update the Meilisearch server to the according version.

    🚀 Enhancements

    client.index('books').getDictionary()
    client.index('books').updateDictionary(['W.E.B'])
    client.index('books').resetDictionary()
    client.index('books').getSeparatorTokens()
    client.index('books').updateSeparatorTokens(['@'])
    client.index('books').resetSeparatorTokens()
    client.index('books').getNonSeparatorTokens()
    client.index('books').updateNonSeparatorTokens(['.', ','])
    client.index('books').resetNonSeparatorTokens()

    ⚠️ Warning usage with v1.4.0

    A bug fix in Meilisearch v1.4.0 introduces a breaking change in the filter usage. It only concerns users using the filter search parameter with \.
    Explanation and change to apply are detailed in the Meilisearch v1.4.0

    Thanks to @ atoulmet and @ bidoubiwa! 🎉

  • 0.35.0-v1.3.0-pre-release.1 - 2023-07-18
  • 0.35.0-v1.3.0-pre-release.0 - 2023-07-13
  • 0.34.2 - 2023-09-06
  • 0.34.2-tokenizer-customization.0 - 2023-08-16
  • 0.34.1 - 2023-08-07
  • 0.34.0 - 2023-07-31
  • 0.33.0 - 2023-06-05
  • 0.33.0-prototype-search-for-facet-values.1 - 2023-06-08
  • 0.33.0-prototype-search-for-facet-values.0 - 2023-06-06
  • 0.32.5 - 2023-05-29
  • 0.32.4 - 2023-05-23
  • 0.32.3 - 2023-04-08
  • 0.32.2 - 2023-04-04
  • 0.32.1 - 2023-04-03
  • 0.32.0 - 2023-03-27
  • 0.32.0-v1.1.0-pre-release.2 - 2023-03-27
  • 0.32.0-v1.1.0-pre-release.1 - 2023-03-27
  • 0.32.0-v1.1.0-pre-release.0 - 2023-03-15
  • 0.31.1 - 2023-02-06
from meilisearch GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

Snyk has created this PR to upgrade meilisearch from 0.31.1 to 0.41.0.

See this package in npm:
meilisearch

See this project in Snyk:
https://app.snyk.io/org/ramzimalhas/project/afab2989-6bea-4f43-ad06-724efe87c183?utm_source=github&utm_medium=referral&page=upgrade-pr
Copy link

height bot commented Aug 22, 2024

Link Height tasks by mentioning a task ID in the pull request title or commit messages, or description and comments with the keyword link (e.g. "Link T-123").

💡Tip: You can also use "Close T-X" to automatically close a task when the pull request is merged.

Copy link

Changes made by this pull request:

package.json
Updated the version of the "meilisearch" package from "^0.31.1" to "^0.41.0".

Copy link

coderabbitai bot commented Aug 22, 2024

Important

Review skipped

Ignore keyword(s) in the title.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share
Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants